package com.haierCamera.customapplication.api.vo;

import com.haierCamera.customapplication.ui.business.entity.RecordInfo;
import com.kunminx.linkage.bean.BaseGroupedItem;

public class RecordGroupItem extends BaseGroupedItem<RecordGroupItem.ItemInfo> {

    public RecordGroupItem(boolean isHeader, String header) {
        super(isHeader, header);
    }

    public RecordGroupItem(ItemInfo info) {
        super(info);
    }

    public static class ItemInfo extends BaseGroupedItem.ItemInfo {
//        private String content;
        private String imgUrl;
        private String cost;
        private RecordInfo recordInfo;

        public ItemInfo(String title, String group, RecordInfo recordInfo) {
            super(title, group);
            this.recordInfo = recordInfo;
        }

//        public ItemInfo(String title, String group, String content, String imgUrl) {
//            this(title, group, content);
//            this.imgUrl = imgUrl;
//        }
//
//        public ItemInfo(String title, String group, String content, String imgUrl, String cost) {
//            this(title, group, content, imgUrl);
//            this.cost = cost;
//        }


        public RecordInfo getRecordInfo() {
            return recordInfo;
        }

        public void setRecordInfo(RecordInfo recordInfo) {
            this.recordInfo = recordInfo;
        }

        public String getImgUrl() { return imgUrl; }

        public void setImgUrl(String imgUrl) { this.imgUrl = imgUrl; }

        public String getCost() { return cost; }

        public void setCost(String cost) { this.cost = cost; }
    }
}
